import request from "@/network/request";

// 轮播图列表
export function swperList(data) {
  return request({
    url: "/saleh5/diagnosis/system/systemBanner/list",
    method: "post",
    data,
  });
}
// 宣教列表
export function educationPage(data) {
  return request({
    url: "/saleh5/diagnosis/education/hospitalNutritionEducation/page",
    method: "post",
    data,
  });
}
// 宣教详情
export function educationDetails(data) {
  return request({
    url: "/saleh5/diagnosis/education/hospitalNutritionEducation/get",
    method: "post",
    data,
  });
}
// 公众号网页获取jsticket
export function jsticket(data) {
  return request({
    url: "/saleh5/auth/auth/jsticket",
    method: "post",
    data,
  });
}

// 登录接口
export function login(data) {
  return request({
    url: "/saleh5/auth/auth/login",
    method: "post",
    data,
  });
}
